
# 求水仙花数
# 153
lst = []
for i in range(100, 1000):
    h = i//100
    b = (i // 10) % 10
    c = i % 10
    if h**3 + b**3 + c**3 == i:
        lst.append(i)
print(lst)